package OOP.Extends_test03;

public class PC extends Computer{
    private String brand;
    //设置信息
    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    //打印信息
    public String getDetails() {
        return super.getDetails()+"品牌： "+brand;
    }
}
